#include<stdio.h>
#include<unistd.h>
#include<sys/types.h>
int main()
{
    pid_t id =getpid();
    pid_t fid=getppid();
    while(1)
    {
        printf("I am process!pid:%d，fpid:%d \n",id,fid);
        sleep(1);
    }
}
